home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / cmstfmcheckgamut.z / cmstfmcheckgamut
Encoding:
Text File  |  2002-10-03  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. ccccmmmmssssTTTTffffmmmmCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt((((3333))))                  CCCCMMMMSSSS                   ccccmmmmssssTTTTffffmmmmCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt((((3333))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cmsTfmCheckGamut - test pixels in a buffer to see whether they are in
  10.      gamut for a given transform
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ccccmmmmssss....hhhh>>>>
  14.  
  15.      iiiinnnntttt33332222 ccccmmmmssssTTTTffffmmmmCCCChhhheeeecccckkkkGGGGaaaammmmuuuutttt ((((ccccttttxxxxtttt,,,, ttttffffmmmm,,,, ****ppppssssrrrrcccc,,,, ppppggggaaaammmmuuuuttttmmmmaaaapppp))));;;;
  16.      CCCCMMMMSSSSCCCCoooonnnntttteeeexxxxtttt ccccttttxxxxtttt;;;;
  17.      CCCCMMMMSSSSTTTTffffmmmm ttttffffmmmm;;;;
  18.      CCCCMMMMSSSSPPPPiiiixxxxeeeellllBBBBuuuuffffffffeeeerrrr ****ppppssssrrrrcccc;;;;
  19.      CCCCMMMMSSSSGGGGaaaammmmuuuuttttMMMMaaaapppp ppppggggaaaammmmuuuuttttmmmmaaaapppp;;;;
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      _c_m_s_T_f_m_C_h_e_c_k_G_a_m_u_t uses the transform _t_f_m to test input pixel buffer _p_s_r_c
  23.      and generate the output flags buffer _p_g_a_m_u_t_m_a_p for out-of-gamut
  24.      indication.  The order of bits in _p_g_a_m_u_t_m_a_p follows the order of input
  25.      pixels.
  26.  
  27.      Gamut checking may take a while to perform.  If you are concerned about
  28.      maintaining interactivity, you  may wish to check portions of images in
  29.      smaller sized chunks.  The hint CMS_SPEED_ACHIEVED indicates the rate at
  30.      which the system can update pixels using the current transform.  It is
  31.      safe to assume that gamut checking will run at a comparable rate.
  32.  
  33. EEEERRRRRRRROOOORRRRSSSS
  34.      CMS_OUT_OF_MEMORY
  35.                There is not sufficient memory available for gamut testing.
  36.  
  37.      CMS_BAD_PIXEL_BUF
  38.                psrc is not a valid pixel buffer.
  39.  
  40.      CMS_BAD_GAMUT_MAP
  41.                pgamutmap is not a valid gamut map buffer.
  42.  
  43.      CMS_BAD_TFM
  44.                tfm is not a valid transform, or it has not been built.
  45.  
  46.      CMS_CONVERT_ERROR
  47.                The transform specified by tfm is not valid.
  48.  
  49. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  50.      cmsTfmBuild
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.